<template>
  <div class="big">
    <div class="box">
      <i class="el-icon-collection-tag"></i>
      <p>我的订单</p>
    </div>
    <div class="empty">
      <div class="mg"></div>
      <div class="text">
        <h2>您的订单还是空的！</h2>
        <p>快去购物吧！</p>
      </div>
    </div>
    <div class="full">
        
    </div>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {};
  },
  props: [], //接收父组件传过来的值
  components: {},
  mounted() {},
  methods: {},
  // beforeRouteEnter(to, from, next) {
  //   next(vm => {
  //     //判断token值是否存在
  //     if (vm.$store.state.userName == "") {
  //      /*  vm.$router.push("/zhyadm/login"); */
  //         /* this.loginShow = true; */
  //       /*  vm.$refs.dialo.showDialog();  */
  //         vm.$refs.dialo.loginDialog();
  //     } else{
  //       next(false)
  //     }
  //   });
  // },
  
  computed: {},
  watch: {},
};
</script>

<style lang='scss'scoped>
.big {
  width: 100%;

  .box {
    margin: 0 auto;
    /*  background: red; */
    height: 64px;
    margin-top: 20px;
    border-bottom: 3px solid rgb(255, 103, 0);
    font-size: 28px;
    display: flex;
    line-height: 64px;

    i {
      line-height: 64px;
      color: rgb(255, 103, 0);
      margin-left: 198.5px;
    }
  }
  .empty {
    width: 100%;
    height: 535px;
    display: flex;
    background: #f5f5f5;
    margin: 0 auto;
    .mg {
      width: 399px;
      height: 400px;
      margin-top: 10px;
      background: url("../../public/imgs/cart-empty.png") no-repeat 100% 100%;
    }
    .text {
      color:#B0B0B0 ;
      h2 {
        font-size: 36px;
        margin: 170px 120px 15px;
      }
      p{
        font-size: 20px;
          margin-left: 120px;
      }
    }
  }
}
</style>